package cart.haiboinvest.com.haibocart.ui.activity.account;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;

import cart.haiboinvest.com.haibocart.R;


/**注册界面
 * Created by quan on 2016/4/14.
 */
public class RegisterActivity extends Activity {
    private TextView tvClause;
    private Context mContext;
    private ImageView back;
    private Button next;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_register);
        mContext=this;
        findViews();
    }

    private void findViews() {
        tvClause= (TextView) findViewById(R.id.tv_clause);
        tvClause.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent=new Intent(mContext,DisclaimerActivity.class);
                startActivity(intent);
            }
        });

        back= (ImageView) findViewById(R.id.back);
        back.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });

        next= (Button) findViewById(R.id.btn_next);
        next.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                //TODO
            }
        });
    }

}
